package com.example.springboot_system.service;

import com.example.springboot_system.pojo.Patient;
import com.example.springboot_system.pojo.vo.outpatient.MedicalRecordReqVO;
import com.example.springboot_system.utils.ResponseResult;

import javax.servlet.http.HttpSession;
import java.text.ParseException;

public interface OutpatientService {
    ResponseResult findMedicalRecord(String cardId, String prescriptionNum, HttpSession session);

    ResponseResult buttonFind(String cardId, Integer outpatientQueueStatus, HttpSession session);



    // 提交更改患者信息
    ResponseResult savePatientInfo(Patient patient);

    // 保存诊断信息
//    ResponseResult saveJudgeInfo(MedicalRecord medicalRecord, Patient patient,HttpSession session);

    // 获取所有药物信息
    ResponseResult getMedication();

    // 获取患者信息
    ResponseResult getCardInfo(String cardId,HttpSession session);

    // 获取药物信息
    ResponseResult getMedicationInfo(String medicationName);

    // 提交门诊信息
    ResponseResult addMedicalRecord(HttpSession session, MedicalRecordReqVO medicalRecordReqVO);
}
